find smallest number in array